<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<link href="[%ESPCMS_ADMIN_URL%]js/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_colorpicker.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_month.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_time.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/lib/moment.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/fullcalendar.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/zh-cn.js"></script>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]article/css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%$ESPCMS_ADMIN_TEMPLATES_URL%]article/article_tool.js"></script>
		<script type="text/javascript">
			var ADMIN_DIRNAME="[%$ESPCMS_ADMIN_DIRNAME%]";
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation({focusName: "#title"});
				$('.espcms_pic_onlyList').picInputClear();
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							[%if $model_read.isbase!=1%]
							parent.frames['[%$par_iframes_name%]'].loading();
							[%/if%]
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				load_datatime('.datetime');
				load_data_all('.date');
				load_time('.time');
				$('.espcms_dialog_link').espcms_dig();
				del_select_remove();
				del_select_remove_vote();
				del_article_pic();
			});
		</script>
		<script type="text/javascript" src="[%ESPCMS_URL%]espcms_includes/ueditor/ueditor_config.js"></script>
		<script type="text/javascript" src="[%ESPCMS_URL%]espcms_includes/ueditor/ueditor.js"></script>
		<script type="text/javascript" src="[%ESPCMS_URL%]espcms_includes/ueditor/seapoa/espcms_extend.js"></script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">
				<!--正文-->
				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="mid" id="mid" value="[%$model_read.mid%]"/>
							<input type="hidden" name="datid" id="datid" value="[%$attr_read.datid%]"/>
							[%if $model_read.isbase==1%]
							<input type="hidden" name="tid" id="tid" value="[%$read.tid%]"/>
							<input type="hidden" name="isbase" id="isbase" value="1"/>
							[%/if%]
							<input type="hidden" name="did" id="did" value="[%$read.did%]"/>
							[%if $type=='edit'%]
							<input type="hidden" name="savetype" value="edit"/>
							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_main_button_edit%]（[%$model_read.modelname%]）</span></div>
							[%/if%]
							[%if $type=='copy'%]
							<input type="hidden" name="savetype" value="add"/>
							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_main_button_copy%]（[%$model_read.modelname%]）</span></div>
							[%/if%]

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_title%]</label>
								<div class="col-sm-9 pt7">[%$model_read.modelname%]</div>
							</div>
							[%if $model_read.istsn==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_tsn%]</label>
								<div class="col-sm-9">
									<input type="text" name="tsn" class="form-control" id="tsn" value="[%$article_tsn%]" maxlength="50" data-validation="^[\w]{2,50}$" placeholder="[%pack:article_pack-espcms_article_main_tsn_title%]" title="[%pack:article_pack-espcms_article_main_tsn_title%]" data-validation-msg="[%pack:article_pack-espcms_article_main_tsn_validation_msg%]"/>
								</div>
							</div>
							[%/if%]
							[%forlist from=$model_att_array key=i%]
								[%if $model_att_array[i].inputtype=='string' || $model_att_array[i].inputtype=='int' || $model_att_array[i].inputtype=='float' || $model_att_array[i].inputtype=='decimal'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<input type="text" name="[%$model_att_array[i].attrname%]" class="form-control" id="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue%]" placeholder="[%$model_att_array[i].typeremark%]" title="[%$model_att_array[i].typeremark%]" [%if $model_att_array[i].isvalidate==1%] data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]" />
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='string' && $model_att_array[i].attrname=='title'%]
								<div class="form-group">
									<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_color%]</label>
									<div class="col-sm-9">
										<input type="text" name="color" id="title_color" value="[%$article_title_clolor%]" />
									</div>
								</div>
								<script type="text/javascript">
									$(document).ready(function () {
										$('#title_color').EasySiteColorSelect();
									});
								</script>
								[%/if%]

								[%if $model_att_array[i].inputtype=='text' || $model_att_array[i].inputtype=='htmltext'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<textarea name="[%$model_att_array[i].attrname%]" class="form-control" style="width:100%;height:[%$model_att_array[i].attrrow%]px" id="[%$model_att_array[i].attrname%]" placeholder="[%$model_att_array[i].typeremark%]" title="[%$model_att_array[i].typeremark%]" [%if $model_att_array[i].isvalidate==1%] data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]">[%$model_att_array[i].attrvalue%]</textarea>
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='img'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9" id="[%$model_att_array[i].attrname%]_select_list">
										 <input type="hidden" name="[%$model_att_array[i].attrname%]" id="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue%]" validation="true" data-isvalidation="true" data-validation-botton="[%$model_att_array[i].attrname%]_select" data-validation="^[\w\.//]+$" data-validation-msg="[%$model_att_array[i].validate_str%]" />
										 [%if $model_att_array[i].attrvalue%]
										 <a class="btn-image espcms_dialog_link" id="[%$model_att_array[i].attrname%]_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=[%$model_att_array[i].attrname%]&updatediv=[%$model_att_array[i].attrname%]_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]" style="display: none;"></a>
										 <ul class="espcms_pic_onlyList" id="[%$model_att_array[i].attrname%]_ul" input_id="[%$model_att_array[i].attrname%]" select_id="[%$model_att_array[i].attrname%]_select">
											 <li>
												 <p class="uploadimgWrap"><img src="[%$ESPCMS_URL%][%$model_att_array[i].attrvalue%]" width="100" height="100"/></p>
												 <div class="upload_file_panel" style="height: 0px;"><span class="cancel"></span></div>
											 </li>
										 </ul>
										 [%else%]
										 <a class="btn-image espcms_dialog_link" id="[%$model_att_array[i].attrname%]_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=[%$model_att_array[i].attrname%]&updatediv=[%$model_att_array[i].attrname%]_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
										 [%/if%]
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='selectinput'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<input class="form-control" type="text" name="[%$model_att_array[i].attrname%]" id="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue%]" placeholder="[%$model_att_array[i].typeremark%]" title="[%$model_att_array[i].typeremark%]" [%if $model_att_array[i].isvalidate==1%] data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]" />
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label"></label>
									<div class="col-sm-9">
										<select class="selectpicker form-control" data-size="8" title="[%pack:article_pack-espcms_article_main_select%]" name="[%$model_att_array[i].attrname%]selectinputvalue" onchange="javascript:$('#[%$model_att_array[i].attrname%]').val(this.value)">
											<option value="">[%$ST.botton_select_name%][%$modelatt[list].typename%]</option>
											[%forlist from=$model_att_array[i].selectinputvalue key=ii%]
											<option value="[%$model_att_array[i].selectinputvalue[ii].name%]">[%$model_att_array[i].selectinputvalue[ii].name%]</option>
											[%/forlist%]
										</select>
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='addon' || $model_att_array[i].inputtype=='video'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<div class="input-group">
											<input type="text" name="[%$model_att_array[i].attrname%]" class="form-control" id="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue%]" placeholder="[%$model_att_array[i].typeremark%]" title="[%$model_att_array[i].typeremark%]" data-display-type="top" [%if $model_att_array[i].isvalidate==1%] data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]" />
											<span class="input-group-btn">
												[%if $model_att_array[i].inputtype=='addon'%]
												<button type="button" class="btn btn-orange espcms_dialog_link" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=inputfile&upfileType=file&selectnum=1&inputname=[%$model_att_array[i].attrname%]" data-title="[%pack:filemanage_pack-espcms_filenamage_file_dialog_title%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:filemanage_pack-espcms_filenamage_botton_select_file%]</button>
												[%/if%]
												[%if $model_att_array[i].inputtype=='video'%]
												<button type="button" class="btn btn-orange espcms_dialog_link" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=inputfile&upfileType=mover&selectnum=1&inputname=[%$model_att_array[i].attrname%]" data-title="[%pack:filemanage_pack-espcms_filenamage_video_dialog_title%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:filemanage_pack-espcms_filenamage_botton_select_moverfile%]</button>
												[%/if%]
											</span>
										</div>
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='datetime' || $model_att_array[i].inputtype=='date' || $model_att_array[i].inputtype=='time'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<input type="text" name="[%$model_att_array[i].attrname%]" class="form-control [%$model_att_array[i].inputtype%]" id="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue%]" placeholder="[%$model_att_array[i].typeremark%]" title="[%$model_att_array[i].typeremark%]" [%if $model_att_array[i].isvalidate==1%] data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]"/>
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='select'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<select class="selectpicker form-control" name="[%$model_att_array[i].attrname%]" id="[%$model_att_array[i].attrname%]" data-size="8" [%if $model_att_array[i].isvalidate==1%]data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]" title="[%pack:public_pack-espcms_select_title%][%$model_att_array[i].typename%]">
											[%forlist from=$model_att_array[i].attrvalue key=ii%]
											<option value="[%$model_att_array[i].attrvalue[ii].name%]" [%$model_att_array[i].attrvalue[ii].selected%]>[%$model_att_array[i].attrvalue[ii].name%]</option>
											[%/forlist%]
										</select>
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='radio'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9 pt6">
										[%forlist from=$model_att_array[i].attrvalue key=ii%]
										<input type="radio" name="[%$model_att_array[i].attrname%]" value="[%$model_att_array[i].attrvalue[ii].name%]" [%if $model_att_array[i].attrvalue[ii].selected=='selected'%]checked[%/if%]/><span class="pr10">[%$model_att_array[i].attrvalue[ii].name%]</span>
										[%/forlist%]
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='checkbox'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9 pt6">
										[%forlist from=$model_att_array[i].attrvalue key=ii%]
										<input type="checkbox" value="[%$model_att_array[i].attrvalue[ii].name%]" name="[%$model_att_array[i].attrname%][]"  [%if $model_att_array[i].attrvalue[ii].selected=='selected'%]checked[%/if%]/><span class="pr10">[%$model_att_array[i].attrvalue[ii].name%]</span>
										[%/forlist%]
									</div>
								</div>
								[%/if%]

								[%if $model_att_array[i].inputtype=='editor'%]
								<div class="form-group [%$model_att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$model_att_array[i].typename%]</label>
									<div class="col-sm-9">
										<textarea name="[%$model_att_array[i].attrname%]" style="width:100%;height:[%$model_att_array[i].attrrow%]px" id="[%$model_att_array[i].attrname%]" title="[%$model_att_array[i].typeremark%]" [%if $model_att_array[i].isvalidate==1%] data-ued="1" data-validation="[%$model_att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$model_att_array[i].validate_str%]">[%$model_att_array[i].attrvalue%]</textarea>
									</div>
								</div>
								[%if $model_att_array[i].attrname=='content'%]
								<div class="form-group">
									<label class="col-sm-2 control-label"></label>
									<div class="col-sm-9 pt6">
										<input type="checkbox" name="input_isdellink" value="1"/><span class="pr10">[%pack:article_pack-espcms_article_main_button_clearlink%]</span>
										<input type="checkbox" name="donwloadpic" value="1"/><span class="pr10">[%pack:article_pack-espcms_article_main_button_downloadpic%]</span>
										<input type="radio" name="ceratkeylink_type" value="0" [%if $article_iskeylink==0%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_main_button_iskeylink_0%]</span>
										<input type="radio" name="ceratkeylink_type" value="1" [%if $article_iskeylink==1%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_main_button_iskeylink_1%]</span>
										<input type="radio" name="ceratkeylink_type" value="2"/><span class="pr10">[%pack:article_pack-espcms_article_main_button_iskeylink_2%]</span>
									</div>
								</div>
								[%/if%]
								<script type="text/javascript">
									$(document).ready(function () {
										UE.getEditor('[%$model_att_array[i].attrname%]', {toolbars: editconfing});
									});
								</script>
								[%/if%]
							[%/forlist%]


							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_type_str1%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_title%]</label>
								<div class="col-sm-9">
									<input type="text" name="headtitle" class="form-control" id="headtitle" value="[%$read.headtitle%]" maxlength="150" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="150" placeholder="[%pack:article_pack-espcms_article_title_title%]" title="[%pack:article_pack-espcms_article_title_title%]" data-validation-msg="[%pack:article_pack-espcms_article_title_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_keywords%]</label>
								<div class="col-sm-9">
									<input type="text" name="keywords" class="form-control" id="keywords" value="[%$read.keywords%]" maxlength="200" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="200" placeholder="[%pack:article_pack-espcms_article_keywords_title%]" title="[%pack:article_pack-espcms_article_keywords_title%]" data-validation-msg="[%pack:article_pack-espcms_article_keywords_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_description%]</label>
								<div class="col-sm-9">
									<textarea class="form-control" style="width:100%;height:70px" name="description" id="description" maxlength="250" data-isvalidation="true" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="500" placeholder="[%pack:article_pack-espcms_article_description_title%]" title="[%pack:article_pack-espcms_article_description_title%]" data-validation-msg="[%pack:article_pack-espcms_article_description_validation_msg%]">[%$read.description%]</textarea>
									<div class="add_one">
										<a class="btn-round-xm btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$key_select_link%]&inputname=keywords&iframeName=[%$iframes_name%]" data-title="[%pack:article_pack-espcms_keywords_optimization_button_select%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-tags"></i>[%pack:article_pack-espcms_keywords_optimization_button_select%]</a>
										<a class="btn-round-xm btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$keygroups_select_link%]&inputname=keywords&inputname2=description&iframeName=[%$iframes_name%]" data-title="[%pack:article_pack-espcms_keywords_groups_button_select%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-tags"></i>[%pack:article_pack-espcms_keywords_groups_button_select%]</a>
									</div>
								</div>
							</div>

							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_main_str1%]</span></div>
							[%if count($article_label_array)>0%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_recommend%]</label>
								<div class="col-sm-7 pt6">
									[%forlist from=$article_label_array key=i%]
									<input type="checkbox" name="recommend[]" value="[%$article_label_array[i].dlid%]" [%if $article_label_array[i].selected=='selected'%]checked[%/if%]/><span class="pr10">[%$article_label_array[i].labelname%]</span>
									[%/forlist%]
								</div>
							</div>
							[%/if%]
							[%if $model_read.isbase==0%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_tid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="tid" id="tid" data-size="8" title="[%pack:article_pack-espcms_article_main_tid_title%]" data-validation="^[1-9]{1}[0-9]*$" data-validation-msg="[%pack:article_pack-espcms_article_main_tid_validation_msg%]">
										[%forlist from=$article_type_array key=i%]
											<option value="[%$article_type_array[i].tid%]" [%if $article_type_array[i].selected=='selected'%] selected="selected"[%/if%] class="[%$article_type_array[i].classname%]" data-icon="[%$article_type_array[i].icon%]">[%$article_type_array[i].typename%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]
							[%if $model_read.isextid==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_extid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="extid[]" id="extid" data-size="8" multiple="multiple" title="[%pack:article_pack-espcms_article_main_extid_title%]" data-isvalidation="true" data-validation="^[1-9]{1}[0-9\,]*$" data-validation-msg="[%pack:article_pack-espcms_article_main_extid_validation_msg%]">
										[%forlist from=$article_type_array key=i%]
											<option value="[%$article_type_array[i].tid%]" [%if in_array($article_type_array[i].tid,$article_extid_array)%] selected="selected"[%/if%] class="[%$article_type_array[i].classname%]" data-icon="[%$article_type_array[i].icon%]">[%$article_type_array[i].typename%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]
							[%if $model_read.issid==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_sid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="sid" id="sid" data-size="8" title="[%pack:article_pack-espcms_article_main_sid_title%]" data-isvalidation="true" data-validation="^[1-9]{1}[0-9]*$" data-validation-msg="[%pack:article_pack-espcms_article_main_sid_validation_msg%]">
										[%forlist from=$article_subjectlist_array key=i%]
											<option value="[%$article_subjectlist_array[i].sid%]" [%$article_subjectlist_array[i].selected%]>[%$article_subjectlist_array[i].subjectname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]

							[%if $member_app_config.isetup==1 && $model_read.ispurview==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_purview%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="purview[]" id="purview" data-size="8" multiple="multiple" data-isvalidation="true" data-validation="^[1-9]{1}[0-9\,]*$" title="[%pack:article_pack-espcms_article_purview_title%]" data-validation-msg="[%pack:article_pack-espcms_article_purview_validation_msg%]">
										[%forlist from=$member_class_list key=i%]
										<option value="[%$member_class_list[i].mcid%]" [%if in_array($member_class_list[i].mcid,$purview_array)%] selected="selected"[%/if%]>[%$member_class_list[i].rankname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]

							[%if $model_read.isfgid==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_fgid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="fgid" id="fgid" data-size="8" title="[%pack:article_pack-espcms_article_main_fgid_title%]" data-isvalidation="true" data-validation="^[1-9]{1}[0-9]*$" data-validation-msg="[%pack:article_pack-espcms_article_main_fgid_validation_msg%]">
										[%forlist from=$form_group_array key=i%]
											<option value="[%$form_group_array[i].fgid%]" [%$form_group_array[i].selected%]>[%$form_group_array[i].formgroupname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]


							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_addtime%]</label>
								<div class="col-sm-9">
									<input type="text" name="addtime" class="form-control datetime" id="addtime" value="[%$read.addtime|espcms_timeformat(3)%]" placeholder="[%pack:article_pack-espcms_article_main_addtime_title%]" title="[%pack:article_pack-espcms_article_main_addtime_title%]" data-isvalidation="true" data-validation="^[\d]{4}\-[\d]{1,2}\-[\d]{1,2} [\d]{1,2}:[\d]{1,2}:[\d]{1,2}$" data-validation-msg="[%pack:article_pack-espcms_article_purview_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_click%]</label>
								<div class="col-sm-9">
									<input type="text" name="click" class="form-control" id="click" value="[%$read.click%]" placeholder="[%pack:article_pack-espcms_article_main_click_title%]" title="[%pack:article_pack-espcms_article_main_click_title%]" data-isvalidation="true" data-validation="^[\d]+$" data-validation-msg="[%pack:article_pack-espcms_article_main_click_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_islink2%]</label>
								<div class="col-sm-7 pt6">
									<input type="radio" name="islink" class="tab_click" open_list=".isline_div1" value="1" [%if $read.islink==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="islink" class="tab_click" close_list=".isline_div1" value="0" [%if $read.islink==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							<div class="form-group isline_div1 [%if $read.islink==0%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_islink%]</label>
								<div class="col-sm-9">
									<input type="text" name="link" class="form-control" id="link" value="[%$read.link%]" link-validation="islink" link-gettype="radio" link-getvalue="1" data-validation="^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+$" placeholder="[%pack:article_pack-espcms_article_type_typeurl_title%]" title="[%pack:article_pack-espcms_article_type_typeurl_title%]" data-validation-msg="[%pack:article_pack-espcms_article_type_typeurl_validation_msg%]"/>
								</div>
							</div>
							[%if $model_read.islinkdid==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_linkdid%]</label>
								<div class="col-sm-9">
									<input type="hidden" name="linkdid" id="linkdid" value="[%$read.linkdid%]" validation="true" data-validation-botton="linkdid_botton" data-isvalidation="true" data-validation="^[\d,]+$" data-validation-msg="[%pack:article_pack-espcms_article_main_linkdid_validation_msg%]"/>
									<input type="hidden" name="linkdid_title" id="linkdid_title" value="[%$title_list%]" />
									<div class="select_input_itme_group" id="linkdid_botton">
										<div class="select_input_itme_list">
											<span class="select_input_itme_title[%if $read.linkdid%] displaynone[%/if%]">[%pack:article_pack-espcms_article_main_linkdid_title%]</span>
											<ul class="select_input_itme_list_ul">
												[%forlist from=$doc_list key=i%]
												<li class="select_itme_id" id="select_itme_id_[%$doc_list[i].did%]" data-id="[%$doc_list[i].did%]" title="[%$doc_list[i].title%]"><span class="select_choice_remove" role="presentation" data-id="[%$doc_list[i].did%]" title="[%$doc_list[i].title%]">×</span><span><i class="espcms_icon_fa espcms_icon_fa-angle-right" aria-hidden="true"></i>[%$doc_list[i].title%]</span></li>
												[%/forlist%]
											</ul>
										</div>
										<div class="select_input_itme_botton"><a title="[%pack:article_pack-espcms_article_main_button_select%]" class="icon_botton espcms_dialog_link" data-w="800px" data-h="520px" data-url="[%$article_select_link%]&inputname=linkdid&inputname2=linkdid_title&iframeName=[%$iframes_name%]&select_num=20" data-title="[%pack:article_pack-espcms_article_main_button_select%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i></a></div>
									</div>
								</div>
							</div>
							[%/if%]
							[%if $model_read.isques==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_votelink%]</label>
								<div class="col-sm-9">
									<input type="hidden" name="votelink" id="votelink" validation="true"value="[%$read.votelink%]"  data-validation-botton="votelink_botton" data-isvalidation="true" data-validation="^[\d,]+$" data-validation-msg="[%pack:article_pack-espcms_article_main_votelink_validation_msg%]"/>
									<input type="hidden" name="votelink_title" id="votelink_title" value="[%$vote_title_list%]" />
									<div class="select_input_itme_group" id="votelink_botton">
										<div class="select_input_itme_list">
											<span class="select_input_itme_title[%if $read.votelink%] displaynone[%/if%]">[%pack:article_pack-espcms_article_main_votelink_title%]</span>
											<ul class="select_input_itme_list_ul">
												[%forlist from=$vote_list key=i%]
												<li class="select_itme_id" id="select_vote_id_[%$vote_list[i].vote_id%]" data-id="[%$vote_list[i].vote_id%]" title="[%$vote_list[i].title%]"><span class="select_choice_remove" role="presentation" data-id="[%$vote_list[i].vote_id%]" title="[%$vote_list[i].vote_title%]">×</span><span><i class="espcms_icon_fa espcms_icon_fa-angle-right" aria-hidden="true"></i>[%$vote_list[i].vote_title%]</span></li>
												[%/forlist%]
											</ul>

										</div>
										<div class="select_input_itme_botton"><a title="[%pack:article_pack-espcms_article_main_button_select_vote%]" class="icon_botton espcms_dialog_link" data-w="800px" data-h="520px" data-url="[%$vote_link%]&inputname=votelink&inputname2=votelink_title&iframeName=[%$iframes_name%]&select_num=20" data-title="[%pack:article_pack-espcms_article_main_button_select_vote%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i></a></div>
									</div>
								</div>
							</div>
							[%/if%]
							[%if $model_read.isalbum==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_album%]</label>
								<div class="col-sm-9">
									<input type="hidden" name="article_pic_count" id="article_pic_count" value="[%$photo_sum%]"/>
									<input type="hidden" name="espcms_article_main_album_picname_title" id="espcms_article_main_album_picname_title" value="[%pack:article_pack-espcms_article_main_album_picname_title%]"/>
									<input type="hidden" name="espcms_article_main_album_picname_validation_msg" id="espcms_article_main_album_picname_validation_msg" value="[%pack:article_pack-espcms_article_main_album_picname_validation_msg%]"/>
									<input type="hidden" name="espcms_article_description_title" id="espcms_article_description_title" value="[%pack:article_pack-espcms_article_description_title%]"/>
									<input type="hidden" name="espcms_article_main_album_filedes_validation_msg" id="espcms_article_main_album_filedes_validation_msg" value="[%pack:article_pack-espcms_article_main_album_filedes_validation_msg%]"/>
									<ul class="article_pic" id="article_pic">
										[%forlist from=$photo key=i%]
											<li id="photo_item_list_[%key=>i%]">
												<table>
													<tbody>
														<tr>
															<td class="photo_item"><div class="photo"><img src="[%$ESPCMS_URL%][%$photo[i].picfile%]"><input type="hidden" name="picfile[]" value="[%$photo[i].picfile%]"></div></td>
															<td class="photo_input">
																<div class="phto_input_title"><input type="text" name="picname[]" value="[%$photo[i].picname%]" class="form-control" maxlength="100" data-msg-cssname="phto_input_title" data-icon-err="false" data-display-type="top" data-isvalidation="true" data-validation-maxlength="150" placeholder="[%pack:article_pack-espcms_article_main_album_picname_title%]" title="[%pack:article_pack-espcms_article_main_album_picname_title%]" data-validation-msg="[%pack:article_pack-espcms_article_main_album_picname_validation_msg%]"></div>
																<div class="phto_input_content"><textarea class="form-control" style="width:100%;height:60px" name="filedes[]" maxlength="500" data-msg-cssname="phto_input_content" data-icon-err="false" data-display-type="top" data-isvalidation="true" data-validation-maxlength="500" placeholder="[%pack:article_pack-espcms_article_description_title%]" title="[%pack:article_pack-espcms_article_description_title%]" data-validation-msg="[%pack:article_pack-espcms_article_main_album_filedes_validation_msg%]">[%$photo[i].filedes%]</textarea></div>
															</td>
															<td class="photo_del"><a title="[%pack:botton_pack-espcms_botton_del%]" class="del_botton file_del icon_botton"><i class="espcms_icon_fa espcms_icon_fa-trash"></i></a></td>
														</tr>
													</tbody>
												</table>
											</li>
										[%/forlist%]
									</ul>
									<div class="add_one">
										<a class="btn-round-xm btn-orange espcms_dialog_link" id="article_pic_slect"  data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=photolist&upfileType=image&selectnum=20&inputname=article_pic_count&updatediv=article_pic" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"><i class="espcms_icon_fa espcms_icon_fa-plus-circle"></i>[%pack:article_pack-espcms_article_main_button_addpic%]</a>
									</div>
								</div>
							</div>
							[%/if%]
							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_main_str2%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_ishtml%]</label>
								<div class="col-sm-7 pt6">
									<input type="radio" name="ishtml" value="0" [%if $read.ishtml==0%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_ishtml_0%]</span>
									<input type="radio" name="ishtml" value="1" [%if $read.ishtml==1%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_ishtml_1%]</span>
									<input type="radio" name="ishtml" value="2" [%if $read.ishtml==2%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_ishtml_2%]</span>
								</div>
							</div>
							[%if $model_read.isorder==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_isorder_name%]</label>
								<div class="col-sm-7 pt5">
									<input type="radio" name="isorder" value="1" [%if $read.isorder==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isorder" value="0" [%if $read.isorder==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							[%/if%]
							[%if $model_read.ismessage==1%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_ismess_name%]</label>
								<div class="col-sm-7 pt5">
									<input type="radio" name="ismess" value="1" [%if $read.ismess==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="ismess" value="0" [%if $read.ismess==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							[%/if%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_istemplates%]</label>
								<div class="col-sm-7 pt6">
									<input type="radio" name="istemplates" class="tab_click" open_list=".istemplates_div" value="1" [%if $read.istemplates==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="istemplates" class="tab_click" close_list=".istemplates_div" value="0" [%if $read.istemplates==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							<div class="form-group istemplates_div [%if $read.istemplates==0%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_list_readtemplate%]</label>
								<div class="col-sm-7">
									<div class="input-group">
										<input type="text" name="template" class="form-control" id="template" value="[%$read.template%]"link-validation="istemplates" link-gettype="radio" link-getvalue="1" data-validation="^[\w]+$" data-display-type="top" placeholder="[%pack:article_pack-espcms_article_list_readtemplate_title%]" title="[%pack:article_pack-espcms_article_list_readtemplate_title%]" data-validation-msg="[%pack:article_pack-espcms_article_list_readtemplate_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=template&iframeName=[%$iframes_name%]&template_type=web&template_dir=article" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_filename%]</label>
								<div class="col-sm-7">
									<input type="text" name="filename" class="form-control" id="filename" value="[%$read.filename%]" maxlength="50" data-isvalidation="true" data-validation="^[\w]{2,50}$" placeholder="[%pack:article_pack-espcms_article_main_filename_title%]" title="[%pack:article_pack-espcms_article_main_filename_title%]" data-validation-msg="[%pack:article_pack-espcms_article_main_filename_validation_msg%]"/>
								</div>
							</div>


							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_save_cancel%]</button>
							</div>
						</form>
					</div>
				</div>
				<!--正文_end-->
			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
